//
//  YZFMDB.h
//  YZZX
//
//  Created by Easaa on 15/5/9.
//  Copyright (c) 2015年 Easaa. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDB.h"

@interface YZFMDB : NSObject




//查询
+(NSMutableArray *)getAllPeople:(NSString *)MassgeID;

//增加数据
+(void)insertMassge:(NSString *)MassgeID Data:(NSString *)MassgeData Title:(NSString *)MassgeTitle Time:(NSString *)MassgeTime;





//获得存放数据库文件的沙盒地址。
+(NSString *)databaseFilePath;

//3、创建数据库的操作
+(FMDatabase *)creatDatabase;

//增加表数据
+(FMDatabase *)creatTable;


//删除数据
+(void)deletePeopleByID:(int)ID fdb:(FMDatabase *)db;




@end
